package cn.sourcespro.shiro.service;

import cn.sourcespro.shiro.crudparams.PageInfo;
import cn.sourcespro.shiro.entity.SysPermission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 系统权限 Mapper
 *
 * @author 张浩伟
 * @date 2018/07/13
 */
public interface SysPermissionService {
    
    int delete(Integer id);

    int insert(SysPermission record);

    SysPermission findById(Integer id);

    List<SysPermission> findAll();

    int update(SysPermission record);

}